﻿h1 {
    font-weight: bold;
    color: #2e7d32;
    margin-bottom: 25px;
    text-align: center;
}

.card {
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.card-header {
    background-color: #2e7d32;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
}

label {
    font-weight: 600;
    color: #1b5e20;
}

input.form-control, select.form-control {
    border-radius: 6px;
    border-color: #a5d6a7;
}

input[type="submit"].btn, .btn-secondary {
    padding: 8px 20px;
    font-weight: bold;
}

.btn-primary {
    background-color: #2e7d32;
    border-color: #2e7d32;
}

.btn-outline-primary, .btn-outline-info, .btn-outline-danger {
    padding: 4px 12px;
    font-size: 0.9rem;
}

.table-hover tbody tr:hover {
    background-color: #f1f8e9;
}

th {
    background-color: #a5d6a7;
    color: #1b5e20;
    text-align: center;
}

td {
    text-align: center;
}

.pare {
    font-size: 2rem;
    color: #2e7d32;
    font-weight: 900;
    font-family: 'Cairo', sans-serif;
}
.btn-effect {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .btn-effect:hover {
        transform: scale(1.05);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    }
@media (max-width: 768px) {
    .table thead {
        display: none;
    }

    .table tbody, .table tr, .table td {
        display: block;
        width: 100%;
    }

    .table td {
        text-align: right;
        padding-right: 50%;
        position: relative;
        border: none;
        border-bottom: 1px solid #dee2e6;
    }

        .table td::before {
            content: attr(data-label);
            position: absolute;
            left: 10px;
            width: 45%;
            padding-right: 10px;
            white-space: nowrap;
            font-weight: bold;
            color: #198754;
        }

    .btn-effect {
        width: 100%;
        margin-bottom: 10px;
    }

    .pare {
        font-size: 16px;
    }

    .d-flex.gap-3 {
        flex-direction: column;
    }
}
@media (max-width: 768px) {
    .card-body p {
        margin-bottom: 0.5rem;
        font-size: 14px;
    }

    .card-body strong {
        color: #198754;
    }

    .btn-sm {
        font-size: 14px;
    }
}
@media (max-width: 768px) {

    .card-body p {
        color: black !important;
        font-size: 14px !important;
      font-weight:400;
      
        margin-bottom: 0.25rem;
    }
   


    .card-header {
        font-size: 16px;
        text-align: right;
    }

    .card-body strong {
        color: #198754;
    }

    .btn-sm {
        font-size: 13px;
        padding: 4px 10px;
    }
}
@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
    }

    50% {
        box-shadow: 0 4px 20px rgba(220, 53, 69, 0.8);
    }
}